package model;

import java.io.Serializable;

import javax.persistence.*;

import java.util.Date;


/**
 * The persistent class for the station database table.
 * 
 */
@Entity
public class Station implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	public Long id;

	public String city;

	public String code;

	public String county;

	public Long createby;

	@Temporal(TemporalType.TIMESTAMP)
	public Date createtime;

	public Long hashid;

	public Boolean isactive;

	public String jianpin;

	public String name;

	public String orgcode;

	public String province;

	public String secondname;

	public String stationlvl;

	public Long updateby;

	@Temporal(TemporalType.TIMESTAMP)
	public Date updatetime;
	
	public String extendinfo;

	public Station() {
	}
	public Station(Long id, String city, String code, String county,
			Long createby, Date createtime, Long hashid, Boolean isactive,
			String jianpin, String name, String orgcode, Long orgid,
			String province, String secondname, String stationlvl,
			Long updateby, Date updatetime,String extendinfo) {
		super();
		this.id = id;
		this.city = city;
		this.code = code;
		this.county = county;
		this.createby = createby;
		this.createtime = createtime;
		this.hashid = hashid;
		this.isactive = isactive;
		this.jianpin = jianpin;
		this.name = name;
		this.orgcode = orgcode;
		this.province = province;
		this.secondname = secondname;
		this.stationlvl = stationlvl;
		this.updateby = updateby;
		this.updatetime = updatetime;
		this.extendinfo = extendinfo;
	}
}